← Back to issue list

Can't sign ubuntu core model assertion

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1866257
Type
issue
State
open
Author
~koldoon
Labels
assertion sign snap
Created
2020-03-05 22:04:50.073521+00:00
Updated
2020-03-06 08:41:22.340816+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

I'm trying to create personal Ubuntu Core image performing all the steps from the tutorial here: https://docs.ubuntu.com/core/en/guides/build-device/image-building At the step of signing the model assertion I got an error: koldoon@ubuntu:~/snapcraft/ucore$ cat x86-model.json | snap sign > x86.model error: cannot sign assertion: cannot sign using GPG: /usr/bin/gpg --personal-digest-preferences SHA512 --default-key 0x34F7072EEA5628D077D79942A196ADCB7D63B8AA --detach-sign failed: exit status 2 ("gpg: signing failed: No such file or directory\ngpg: signing failed: No such file or directory\n") Then I tried to create named key: snapcraft create-key koldoon And after that I could sign the model but JUST ONCE! After that I got the same error as above with no result.

Evaluation history

No evaluation history available.